IOMMU: allow MSI message to IRTE propagation to fail
authorJan Beulich <jbeulich@suse.com>
Mon, 15 Apr 2013 08:33:48 +0000 (10:33 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Apr 2013 08:33:48 +0000 (10:33 +0200)
commit6a727d6be892ea5ff818446d96974bebdf8ac3a2
tree7b167dd6266b4c5b4824a496c8e7405fba05f489
parent887885c17ada9c571a7a2cd71410876448d0610a
IOMMU: allow MSI message to IRTE propagation to fail

With the need to allocate multiple contiguous IRTEs for multi-vector
MSI, the chance of failure here increases. While on the AMD side
there's no allocation of IRTEs at present at all (and hence no way for
this allocation to fail, which is going to change with a later patch in
this series), VT-d already ignores an eventual error here, which this
patch fixes.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: "Zhang, Xiantao" <xiantao.zhang@intel.com>
xen/arch/x86/hpet.c
xen/arch/x86/irq.c
xen/arch/x86/msi.c
xen/drivers/passthrough/amd/iommu_intr.c
xen/drivers/passthrough/iommu.c
xen/drivers/passthrough/vtd/extern.h
xen/drivers/passthrough/vtd/intremap.c
xen/include/asm-x86/hvm/svm/amd-iommu-proto.h
xen/include/asm-x86/msi.h
xen/include/xen/iommu.h